import csv


def get_csv_data(path):
    data_list = []
    with open(path, mode='r', encoding='utf-8') as f:
        f_csv_reader = csv.reader(f)
        next(f)
        for data in f_csv_reader:
            data_list.append(data)

    return data_list


if __name__ == '__main__':
    path = r'D:\PC\PycharmProjects\python_230901\homework\zhangyan\01-08\ddt\data\login_data_illegal.csv'
    print(get_csv_data(path))
    print(path)

